"""
测试继承相关业务
"""
class RemoteControl:
    producer = "xiaomi"

    def control(self):
        print("控制器械")

class NFC:
    producer = "xiaomi"

    def open(self):
        print("nfc 打开了")

class Bluetooth:
    producer = "xiaomi"

    def connect(self):
        print("蓝牙连接成功")

# phone多继承
class Phone(RemoteControl, Bluetooth, NFC):
    # pass关键字
    pass

phone = Phone()
phone.connect()
phone.open()
phone.control()